package com.yxr.affairs.api.model;

/**
 * Created by chengzhuhai on 2017/11/3.
 */

public class AccountEntity {


    /**
     * errcode : 0
     * errmsg : 获取用户信息成功
     * data : {"username":"18你婆婆没事","phone":"18355113528","zhongjin_id":"800000243419","avatar_url":"https://hcdavatar.oss-cn-hangzhou.aliyuncs.com/201709/cgtnlcq96n16qebs7budtncfi41504862086709.jpg","ebank_code":"6236640020000200186","account":"","bankname":"","realname":"程朱海","card_id":"340822199211102674","avatar":"https://hcdavatar.oss-cn-hangzhou.aliyuncs.com/201709/cgtnlcq96n16qebs7budtncfi41504862086709.jpg?x-oss-process=image/resize,w_200/quality,q_70","vip_flag":false,"article_num":4,"tel":"4009990895","recommend_code":"116088","account_info":{"total":"10.00","balance":"10.00","await":"0.00","frost":"0.00","price":"0.00","recover_interest_total":"0.00","recover_interest_wait":"0.00","tender_account":"0.00","exp_total":"0.00","coupon_count":"1"},"user_rank":"2","rank_name":"普通会员","service_time":"8:30 - 17:30"}
     * invite_url : https://m.haochedai.com/UserBenefit/inviteLog
     */

    private int errcode;
    private String errmsg;
    private DataBean data;
    private String invite_url;

    public int getErrcode() {
        return errcode;
    }

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getInvite_url() {
        return invite_url;
    }

    public void setInvite_url(String invite_url) {
        this.invite_url = invite_url;
    }

    public static class DataBean {
        /**
         * username : 18你婆婆没事
         * phone : 18355113528
         * zhongjin_id : 800000243419
         * avatar_url : https://hcdavatar.oss-cn-hangzhou.aliyuncs.com/201709/cgtnlcq96n16qebs7budtncfi41504862086709.jpg
         * ebank_code : 6236640020000200186
         * account :
         * bankname :
         * realname : 程朱海
         * card_id : 340822199211102674
         * avatar : https://hcdavatar.oss-cn-hangzhou.aliyuncs.com/201709/cgtnlcq96n16qebs7budtncfi41504862086709.jpg?x-oss-process=image/resize,w_200/quality,q_70
         * vip_flag : false
         * article_num : 4
         * tel : 4009990895
         * recommend_code : 116088
         * account_info : {"total":"10.00","balance":"10.00","await":"0.00","frost":"0.00","price":"0.00","recover_interest_total":"0.00","recover_interest_wait":"0.00","tender_account":"0.00","exp_total":"0.00","coupon_count":"1"}
         * user_rank : 2
         * rank_name : 普通会员
         * service_time : 8:30 - 17:30
         */

        private String username;
        private String phone;
        private String zhongjin_id;
        private String avatar_url;
        private String ebank_code;
        private String account;
        private String bankname;
        private String realname;
        private String card_id;
        private String avatar;
        private boolean vip_flag;
        private int article_num;
        private String tel;
        private String recommend_code;
        private AccountInfoBean account_info;
        private String user_rank;
        private String rank_name;
        private String service_time;

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getZhongjin_id() {
            return zhongjin_id;
        }

        public void setZhongjin_id(String zhongjin_id) {
            this.zhongjin_id = zhongjin_id;
        }

        public String getAvatar_url() {
            return avatar_url;
        }

        public void setAvatar_url(String avatar_url) {
            this.avatar_url = avatar_url;
        }

        public String getEbank_code() {
            return ebank_code;
        }

        public void setEbank_code(String ebank_code) {
            this.ebank_code = ebank_code;
        }

        public String getAccount() {
            return account;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public String getBankname() {
            return bankname;
        }

        public void setBankname(String bankname) {
            this.bankname = bankname;
        }

        public String getRealname() {
            return realname;
        }

        public void setRealname(String realname) {
            this.realname = realname;
        }

        public String getCard_id() {
            return card_id;
        }

        public void setCard_id(String card_id) {
            this.card_id = card_id;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public boolean isVip_flag() {
            return vip_flag;
        }

        public void setVip_flag(boolean vip_flag) {
            this.vip_flag = vip_flag;
        }

        public int getArticle_num() {
            return article_num;
        }

        public void setArticle_num(int article_num) {
            this.article_num = article_num;
        }

        public String getTel() {
            return tel;
        }

        public void setTel(String tel) {
            this.tel = tel;
        }

        public String getRecommend_code() {
            return recommend_code;
        }

        public void setRecommend_code(String recommend_code) {
            this.recommend_code = recommend_code;
        }

        public AccountInfoBean getAccount_info() {
            return account_info;
        }

        public void setAccount_info(AccountInfoBean account_info) {
            this.account_info = account_info;
        }

        public String getUser_rank() {
            return user_rank;
        }

        public void setUser_rank(String user_rank) {
            this.user_rank = user_rank;
        }

        public String getRank_name() {
            return rank_name;
        }

        public void setRank_name(String rank_name) {
            this.rank_name = rank_name;
        }

        public String getService_time() {
            return service_time;
        }

        public void setService_time(String service_time) {
            this.service_time = service_time;
        }

        public static class AccountInfoBean {
            /**
             * total : 10.00
             * balance : 10.00
             * await : 0.00
             * frost : 0.00
             * price : 0.00
             * recover_interest_total : 0.00
             * recover_interest_wait : 0.00
             * tender_account : 0.00
             * exp_total : 0.00
             * coupon_count : 1
             */

            private String total;
            private String balance;
            private String await;
            private String frost;
            private String price;
            private String recover_interest_total;
            private String recover_interest_wait;
            private String tender_account;
            private String exp_total;
            private String coupon_count;

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getBalance() {
                return balance;
            }

            public void setBalance(String balance) {
                this.balance = balance;
            }

            public String getAwait() {
                return await;
            }

            public void setAwait(String await) {
                this.await = await;
            }

            public String getFrost() {
                return frost;
            }

            public void setFrost(String frost) {
                this.frost = frost;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getRecover_interest_total() {
                return recover_interest_total;
            }

            public void setRecover_interest_total(String recover_interest_total) {
                this.recover_interest_total = recover_interest_total;
            }

            public String getRecover_interest_wait() {
                return recover_interest_wait;
            }

            public void setRecover_interest_wait(String recover_interest_wait) {
                this.recover_interest_wait = recover_interest_wait;
            }

            public String getTender_account() {
                return tender_account;
            }

            public void setTender_account(String tender_account) {
                this.tender_account = tender_account;
            }

            public String getExp_total() {
                return exp_total;
            }

            public void setExp_total(String exp_total) {
                this.exp_total = exp_total;
            }

            public String getCoupon_count() {
                return coupon_count;
            }

            public void setCoupon_count(String coupon_count) {
                this.coupon_count = coupon_count;
            }
        }
    }
}
